
let img_success = '../../../statics/2019-08-28_144834.png';
let img_failure = '../../../statics/2019-08-28_144853.png';

let alert_component = {
    success : // 关联成功
    `
        <div class="alert-template">
            <img src="${img_success}" style="width: 30px;vertical-align:middle"> 
            <span style="font-size:14px;vertical-align:middle;color:#4B99F3;"> 关联成功!</span> 
        </div>
    `,
    failure: // 关联失败
    `
        <div class="alert-template">
            <img src="${img_failure}" style="width: 30px;vertical-align:middle"> 
            <span style="font-size: 14px;vertical-align:middle"> 关联失败!</span> 
        </div>
    `,
    merge_success : // 关联成功
    `
        <div class="alert-template">
            <img src="${img_success}" style="width: 30px;vertical-align:middle"> 
            <span style="font-size: 14px;vertical-align:middle;color:#4B99F3;"> 合并成功!</span> 
        </div>
    `,
    merge_failure: // 合并失败
    `
        <div class="alert-template">
            <img src="${img_failure}" style="width: 30px;vertical-align:middle"> 
            <span style="font-size: 14px;vertical-align:middle"> 合并失败!</span> 
        </div>
    `,
    Unlink_success: // 取消关联成功
    `
        <div class="alert-template">
            <img src="${img_success}" style="width: 30px;vertical-align:middle"> 
            <span style="font-size: 14px;vertical-align:middle"> 取消关联成功!</span> 
        </div>
    `,
    Unlink_failure: // 取消关联失败
    `
        <div class="alert-template">
            <img src="${img_failure}" style="width: 30px;vertical-align:middle"> 
            <span style="font-size: 14px;vertical-align:middle"> 取消关联失败!</span> 
        </div>
    `,
    opening_success: // 开盘成功
    `
        <div class="alert-template">
            <img src="${img_success}" style="width: 30px;vertical-align:middle"> 
            <span style="font-size: 14px;vertical-align:middle"> 开盘成功!</span> 
        </div>
    `,
    opening_failure:  // 开盘失败
    `
        <div class="alert-template">
            <img src="${img_failure}" style="width: 30px;vertical-align:middle"> 
            <span style="font-size: 15px;vertical-align:middle"> 开盘失败!</span> 
        </div>
    `,
    Association_carry_on: // 关联是否继续
    (title = '联赛') =>
    `
        <div style="color: #fff; margin-top: 20px; text-align: left; padding: 0px 34px; ">${title}关联需要准确无误，如错误关联将影响赛事无法正常<br/>开盘。
            <span class="" style="color:#4B99F3;">是否确定继续？</span> 
        </div>
    `,
    Association_data:  // 确定取消关联数据源
    `
        <div style="color: #fff;font-size: 15px;margin-top: 25px;">确定取消关联数据源?</div>
    `,
    merge_carry_on: // 关联2个已开盘数据是否继续
    `
    <div style="color: #fff; margin-top: 20px; text-align: left;padding: 0px 34px;">不支持两场已开盘赛事做关联，请将其一赛事关盘，再做<br/>关联。
    <p class="text-panda-text-dark ">注：已封盘的赛事ID将不能再次开盘</p> 
</div>`


}

export default alert_component;